﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Shop.Framework.Services {
    public static class SanitizerService {

        public static string Sanitize(this string uncleanString) {

            if (uncleanString.Trim().Split(' ').Length < 0) {
                return uncleanString;
            } else {
                return uncleanString.Replace(' ', '-');
            }
        }

    }
}
